package com.zhp.farmerclient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhp.farmerclient.entity.User;
import org.apache.ibatis.annotations.*;

import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<User> {
//    //查询所有用户
//    @Select("select * from user")
//    public List<User> find();
//
//    //增加用户
//    @Insert("insert into user values (#{id},#{username},#{password},#{sex})")
//    public int insert(User user);
}